<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

/*Route::get('/', function () {
    return view('welcome');
});*/
//Route::get('/', 'IndexController@index');

Route::group(['namespace' => 'Long'], function(){
    Route::any('login/index', 'LoginController@index');//登录
    Route::any('/', 'LoginController@index');//登录
    Route::get('/login/logout', 'LoginController@logout');//退出登录

    Route::get('/index/index', 'IndexController@index');//后台首页
    Route::get('/accounts/index', 'AccountsController@index');//用户管理

    Route::get('/operate/index', 'OperateController@index');//聊天查询
    Route::get('/operate/matchRecord', 'OperateController@matchRecord');//比赛场获奖查询
    Route::get('/operate/dailyRankRecord', 'OperateController@dailyRankRecord');//每日排行获奖查询
});
